package com.yeban.javase.day06.test01_obj;

/**
 * @Desc TODO
 * @Author yeban
 * @Date 2025/10/14
 */
public class Test {

    public static void main(String[] args) {
        Sms sms = new Sms();

        Student s1 = new Student("张三",100123);
        Student s2 = new Student("张三",100123);
        Student s3 = new Student("李四",100123);
        Student s4 = new Student("李四",100124);

        sms.addStudent(s1);
        sms.addStudent(s2);
        sms.addStudent(s3);
        sms.addStudent(s4);

        System.out.println(sms);

    }
}
